<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\LogsSearch */
/* @var $form yii\widgets\ActiveForm */
?>


    <?php $form = ActiveForm::begin([
        'action' => [\Yii::$app->controller->action->id],
        'method' => 'get',
    ]); ?>

    <?= $form->field($model, 'id') ?>

    <?= $form->field($model, 'user_id') ?>

    <?= $form->field($model, 'log_url') ?>

    <?= $form->field($model, 'log_info') ?>

    <?= $form->field($model, 'log_ip') ?>

    <?php // echo $form->field($model, 'created_at') ?>

    <?php // echo $form->field($model, 'updated_at') ?>

    <?php // echo $form->field($model, 'deleted') ?>


    <?php       echo $form->field($model, 'created_at_start')->widget(\yii\jui\DatePicker::classname(), [
        'language' => 'zh-CN',
        'dateFormat' => 'yyyy-MM-dd',
        'options'=>['class'=>'form-control'],
      ]);
    ?>

    <?php       echo $form->field($model, 'created_at_end')->widget(\yii\jui\DatePicker::classname(), [
        'language' => 'zh-CN',
        'dateFormat' => 'yyyy-MM-dd',
        'options'=>['class'=>'form-control'],
      ]);
    ?>

    <div class="form-group">
        <?= Html::submitButton('搜索', ['class' => 'btn btn-success']) ?>
        <?= Html::resetButton('重置', ['class' => 'btn btn-default']) ?>
    </div>

    <?php ActiveForm::end(); ?>

